﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using XcoAppSpaces.Contracts.Logging;
using XcoAppSpaces.Contracts.Transport;

namespace XcoAppSpaces.Transport.WCF
{
    /// <summary>
    /// Get the service information for external use
    /// </summary>
    public class SpacePortalInfo
    {
        /// <summary>
        /// Interface for the communication service
        /// </summary>
        public XcoWCFTransportService CommService { get; private set; }
        /// <summary>
        /// Logger from the transport service
        /// </summary>
        public IXcoLogger Logger { get; private set; }

        /// <summary>
        /// Creates a new instance of SpacePortalInfo
        /// </summary>
        /// <param name="commService">Active communication service</param>
        /// <param name="logger">Logger from the transport service</param>
		public SpacePortalInfo(XcoWCFTransportService commService, IXcoLogger logger)
        {
            CommService = commService;
            Logger = logger;
        }
    }
}
